/**
 * 
 */
package json_objects_send;

import java.util.List;

import jpa_objects.Branch;

/**
 * @author Alejandro Casas
 *
 */
public class JSON_business 
{
	private String name;
	private List<JSON_Branch> branchList;

	private String business_type;
	private boolean discount;
	private String mail;
	private int number_of_friends_following;
	


	public JSON_business(String name2, List<JSON_Branch> branshList, String type,
			boolean discount2, String mail2,int number_of_friends_following) {
		this.name=name2;
		
		this.branchList=branshList;
		this.business_type=type;
		this.discount=discount2;
		this.mail=mail2;
		this.number_of_friends_following=number_of_friends_following;
	}

	/**
	 * @return the number_of_friends_following
	 */
	public int getNumber_of_friends_following() {
		return number_of_friends_following;
	}

	/**
	 * @param number_of_friends_following the number_of_friends_following to set
	 */
	public void setNumber_of_friends_following(int number_of_friends_following) {
		this.number_of_friends_following = number_of_friends_following;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}



	/**
	 * @return the branchList
	 */
	public List<JSON_Branch> getBranchList() {
		return branchList;
	}

	/**
	 * @param branchList the branchList to set
	 */
	public void setBranchList(List<JSON_Branch> branchList) {
		this.branchList = branchList;
	}

	public String getBusiness_type() {
		return business_type;
	}

	public void setBusiness_type(String business_type) {
		this.business_type = business_type;
	}

	public boolean isDiscount() {
		return discount;
	}

	public void setDiscount(boolean discount) {
		this.discount = discount;
	}

	public String getMail() {
		return mail;
	}

	public void setMail(String mail) {
		this.mail = mail;
	}
	
	
}
